@extends('admin.base.index')
@section('content')
    <div class="block-area" id="text-input">
        <h3 class="block-title">添加商品页</h3>
        <form action=' {{ url("/admin/yidong") }}/{{ $list->id }} ' method='post'  enctype="multipart/form-data">
            <input type='hidden' name='_token' value='{{ csrf_token() }}'>
            <input type="hidden" name="_method" value="PUT">
                <div class="row">
                    <div class="col-lg-4">
                            <label class="col-sm-3 control-label no-padding-right" for="form-field-1">修改手机版图:</label><br/>
                            <div style="width:200px"><img src="{{ url('menu') }}/{{ $list->phone }}"></div><br/>
                            <h2>修改手机版图片：</h2>
                            <div class="col-sm-9">
                                <input type="file" multiple name="phone"/><br/>
                            </div>
                        </div>
                        <div class="col-lg-4">
                            <label class="col-sm-3 control-label no-padding-right" for="form-field-1">修改pad版图:</label><br/>
                            <div style="width:100px"><img src="{{ url('menu') }}/{{ $list->pad }}"></div><br/>
                            <h2>修改pad版图片：</h2>
                            <div class="col-sm-9">
                                <input type="file" multiple name="pad"/><br/>
                            </div>
                        </div>
                        <div class="col-lg-4">
                            <label class="col-sm-3 control-label no-padding-right" for="form-field-1">修改其他版图片:</label><br/>
                            <div style="width:100px"><img src="{{ url('menu') }}/{{ $list->other }}"></div><br/>
                            <h2>修改其他版图片：</h2>
                            <div class="col-sm-9">
                                <input type="file" multiple name="other"/><br/>
                            </div>
                        </div>
                        <div class="col-lg-10">
                            <h2 style="color:blue">
                                @if (session('msg'))
                                    {{ session('msg') }}
                                @endif
                            </h2>
                        </div>
                    <div class='row'>
                        <div class="col-lg-10">
                            <input type='submit' class='btn' value="确认修改">&nbsp;&nbsp;&nbsp;&nbsp;
                        </div>
                    </div>
                <div class="clearfix"></div>
            </div>
        </form>
    </div>
@stop
